using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class SysFormcheckdetailTable : TableInfo
	{
		public const string C_TABLENAME = "Sys_Formcheckdetail"; 

		public const string C_FORMCHECKDETAILID = "FORMCHECKDETAILID";
		public const string C_FORMCHECKID = "FORMCHECKID";
		public const string C_CHECKUSER = "CHECKUSER";
		public const string C_ORDERNUM = "ORDERNUM";
        public const string C_IsEnd = "IsEnd";
				
		public SysFormcheckdetailTable()
		{
			_tableName ="Sys_Formcheckdetail";
		}

		protected static SysFormcheckdetailTable _current;

		public static SysFormcheckdetailTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new SysFormcheckdetailTable();

			_current.Add(C_FORMCHECKDETAILID, new ColumnInfo(C_FORMCHECKDETAILID, "", true, typeof(Decimal?)));
            _current.Add(C_FORMCHECKID, new ColumnInfo(C_FORMCHECKID, "", false, typeof(Decimal?)));
			_current.Add(C_CHECKUSER, new ColumnInfo(C_CHECKUSER, "", false, typeof(String)));
			_current.Add(C_ORDERNUM, new ColumnInfo(C_ORDERNUM, "", false, typeof(Int32?)));
            _current.Add(C_IsEnd, new ColumnInfo(C_IsEnd, "", false, typeof(String)));
		}

		public ColumnInfo FORMCHECKDETAILID
		{
			get { return this[C_FORMCHECKDETAILID];}
		}

		public ColumnInfo FORMCHECKID
		{
			get { return this[C_FORMCHECKID];}
		}

		public ColumnInfo CHECKUSER
		{
			get { return this[C_CHECKUSER];}
		}

		public ColumnInfo ORDERNUM
		{
			get { return this[C_ORDERNUM];}
		}
        public ColumnInfo IsEnd
        {
            get { return this[C_IsEnd]; }
        }
		
	}
}


